package com.pcbly.web.bean.workflow;

import java.io.Serializable;

import org.apache.commons.lang.builder.EqualsBuilder;
import org.apache.commons.lang.builder.HashCodeBuilder;
import org.apache.commons.lang.builder.ToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;

import com.pcbly.web.bean.formattemplate.FormatTemplateBean;

/** @author Hibernate CodeGenerator */
public class WorkflowApplicationTemplateBean extends WorkflowApplicationBean
		implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 2282691245268868315L;
	
	private FormatTemplateBean documentTemplate;

	/** default constructor */
	public WorkflowApplicationTemplateBean() {
	}

	public FormatTemplateBean getDocumentTemplate() {
		return this.documentTemplate;
	}

	public void setDocumentTemplate(FormatTemplateBean documentTemplate) {
		this.documentTemplate = documentTemplate;
	}

	/**
	 * @see java.lang.Object#equals(Object)
	 */
	public boolean equals(Object object) {
		return EqualsBuilder.reflectionEquals(this, object);
	}

	/**
	 * @see java.lang.Object#hashCode()
	 */
	public int hashCode() {
		return HashCodeBuilder.reflectionHashCode(this);
	}

	/**
	 * @see java.lang.Object#toString()
	 */
	public String toString() {
		return ToStringBuilder.reflectionToString(this,
				ToStringStyle.MULTI_LINE_STYLE);
	}

}
